> On 10 Feb 2023, at 09:20, Hans Hagen via ntg-context
> wrote:
[snip]
Thank-you Hans, these work great - so well in fact that now I've seen the
output I've come to the conclusion that the scaled text would be too small and
what I should really do is flag the one or two addresses in our
On 2/9/2023 10:42 PM, Bruce Horrocks via ntg-context wrote:
I'm printing address labels. Sometimes an address has a long line that is too
long to fit on the label with the result that it wraps. Instead of wrapping, I
thought it would be nice to try and auto-scale the label and shrink it so
Am 09.02.23 um 22:42 schrieb Bruce Horrocks via ntg-context:
I'm printing address labels. Sometimes an address has a long line that is too
long to fit on the label with the result that it wraps. Instead of wrapping, I
thought it would be nice to try and auto-scale the label and shrink it so
I'm printing address labels. Sometimes an address has a long line that is too
long to fit on the label with the result that it wraps. Instead of wrapping, I
thought it would be nice to try and auto-scale the label and shrink it so that
the long line just fits.
I'm using \crlf to break
On 5/18/19 11:00 PM, Hans Hagen wrote:
> On 5/18/2019 7:12 PM, Pablo Rodriguez wrote:
>> [...]
>> Interactive link areas are fine in latest beta (2019.05.18 10:57) with
>> LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled.
>>
>> Could anyone confirm the issue?
> fixed in next beta
Hans,
many
{\goto{#2} [url(#1)]}
\starttext
\mypersonalurl{wiki.contextgarden.net}
\scale[width=.5\textwidth]
{\mypersonalurl{wiki.contextgarden.net}}
\stoptext
Interactive link areas are fine in latest beta (2019.05.18 10:57) with
LuaTeX-1.10, but with LuaTeX-2.0, they aren’t
\mypersonalurl{wiki.contextgarden.net}
\scale[width=.5\textwidth]
{\mypersonalurl{wiki.contextgarden.net}}
\stoptext
Interactive link areas are fine in latest beta (2019.05.18 10:57) with
LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled.
Could anyone confirm the issue?
Many thanks
never wanted to add a ton of code for
> images) so there externalfigure will scale proportionally too
ConTeXt running on the luatex experimental branch under development
indeed works with one-pass-MP calculations as opposed to the two-pass
mechanism that is standard today. For documents with
.." ...
That's what I was looking for. Thanks.
the "externalfigure" variant is an old one that had to deal with
dimensions in a way that avoids overflows
in a future context (read luatex 1.09+) we go one-pass-mp so we can have
a different approach (i never wanted to add a ton of co
On Sun, 8 Jul 2018 10:39:52 +0200
Hans Hagen wrote:
> On 7/8/2018 1:45 AM, Marco Patzer wrote:
> > On Sat, 7 Jul 2018 14:27:38 -0600
> > Alan Braslau wrote:
> >
> >> For "historic" reasons,
> >> draw externalfigure "cow" scaled 5cm ;
> >> normalizes the figure to a square. This will not
On 7/8/2018 1:45 AM, Marco Patzer wrote:
On Sat, 7 Jul 2018 14:27:38 -0600
Alan Braslau wrote:
For "historic" reasons,
draw externalfigure "cow" scaled 5cm ;
normalizes the figure to a square. This will not be changed as it is a
very old feature of MetaFun.
The solution is
draw
On Sat, 7 Jul 2018 14:27:38 -0600
Alan Braslau wrote:
> For "historic" reasons,
> draw externalfigure "cow" scaled 5cm ;
> normalizes the figure to a square. This will not be changed as it is a
> very old feature of MetaFun.
>
> The solution is
> draw rawtextext("\externalfigure[cow]")
On Sat, 7 Jul 2018 22:27:51 +0200
Hans Hagen wrote:
> On 7/7/2018 8:58 PM, Marco Patzer wrote:
> > Hi!
> >
> > How to scale an image in MetaPost, maintaining the aspect ratio
> > (without specifying the height explicitly)?
> >
> > Example:
> >
On 7/7/2018 8:58 PM, Marco Patzer wrote:
Hi!
How to scale an image in MetaPost, maintaining the aspect ratio
(without specifying the height explicitly)?
Example:
\setupexternalfigures [location=default]
\starttext
\externalfigure [cow][width=5cm]
\startMPcode
draw externalfigure
On Sat, 7 Jul 2018 20:58:40 +0200
Marco Patzer wrote:
> Hi!
>
> How to scale an image in MetaPost, maintaining the aspect ratio
> (without specifying the height explicitly)?
>
> Example:
>
> \setupexternalfigures [location=default]
> \starttext
> \
Hi!
How to scale an image in MetaPost, maintaining the aspect ratio
(without specifying the height explicitly)?
Example:
\setupexternalfigures [location=default]
\starttext
\externalfigure [cow][width=5cm]
\startMPcode
draw externalfigure "cow" scaled 5cm;
\stopMPcode
On Tue, 5 Jun 2018, Alan Braslau wrote:
The "style=" use is, in general, preferable for tagging (and
exporting). For less than paragraph switching, the use of
\definehighlight for example could be used.
Quick and dirty font switching is almost always poor usage...
You didn't read the first
jan wrote:
> On Mon, 4 Jun 2018, Alan Braslau wrote:
>
> > On Tue, 5 Jun 2018 10:37:12 +1200
> > Henri Menke wrote:
> >
> >> Dear list,
> >>
> >> probably I'm just missing something obvious. How can I scale the
> >> math font siz
On Mon, 4 Jun 2018, Alan Braslau wrote:
On Tue, 5 Jun 2018 10:37:12 +1200
Henri Menke wrote:
Dear list,
probably I'm just missing something obvious. How can I scale the
math font size to match the text font size locally? In the following
MWE text is scaled to 10pt but math still appears
On Tue, 5 Jun 2018 10:37:12 +1200
Henri Menke wrote:
> Dear list,
>
> probably I'm just missing something obvious. How can I scale the
> math font size to match the text font size locally? In the following
> MWE text is scaled to 10pt but math still appears at 12pt.
>
&g
Dear list,
probably I'm just missing something obvious. How can I scale the math
font size to match the text font size locally? In the following MWE
text is scaled to 10pt but math still appears at 12pt.
\starttext
{\tfx ABC $DEF$ GHI\par}
\stoptext
Cheers, Henri
Hi Hans,
I want to use a few graphics as page backgrounds but with the \scale command
the image always stays within the borders of the page.
Can you add a command (probably easier than adding such a function to
\scale)
which does as same as in the second row of the example below where
\mypersonalurl{wiki.contextgarden.net}
\scale[width=.5\textwidth]
{\mypersonalurl{wiki.contextgarden.net}}
\stoptext
The link area in latest beta is wrong when \scale is used (second
link).
Link area is fine with latest stable and beta from 2015.11.19 19:13. I
don’t have all betas
:
\setupinteraction[state=start]
\enabledirectives[references.border]
\def\mypersonalurl#1{\bgroup%
\tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}%
\unexpanded\def\href#1#2{\goto{#2} [url(#1)]}
\starttext
\mypersonalurl{wiki.contextgarden.net}
\scale[width=.5
Hello,
I'm using \scale to scale up a headline to the width of the entire
paragraph, like so:
\definefontfeature
[default]
[default]
[protrusion=quality,expansion=quality]
\def\scaleHead#1%
{\scale[width=\textwidth]{#1}}
\setuphead[subject]
[textcommand=\scaleHead]
\starttext
\subject
On 12/15/2015 8:46 AM, Marc Trius wrote:
Hello,
I'm using \scale to scale up a headline to the width of the entire
paragraph, like so:
\definefontfeature
[default]
[default]
[protrusion=quality,expansion=quality]
\def\scaleHead#1%
{\scale[width=\textwidth]{#1}}
\setuphead[subject
Dear all,
I am trying to write some lua code that loads some pdf file and scales it. I
have the following code (got from previous question here to get number of pages
from a pdf and from source files).
local figure = figures.push { name = filename, scale = N } -- scale value does
not seem
code that loads some pdf file and scales it. I
have the following code (got from previous question here to get number of pages
from a pdf and from source files).
local figure = figures.push { name = filename, scale = N } -- scale value does
not seem to be taken in account
assert(figure
Hello,
I want to use truly huge (40pt) fonts for chapter numbers.
In my latex code, I used
\newfont{\chapterNumber}{pplr9d scaled 7000}
From the context manual, I thought that
\definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000]
should do it. Though the above code doesn't throw any errors,
On 2013–02–07 Devendra Ghate wrote:
I want to use truly huge (40pt) fonts for chapter numbers.
In my latex code, I used
\newfont{\chapterNumber}{pplr9d scaled 7000}
From the context manual, I thought that
\definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000]
should do it. Though the
On 02/07/2013 03:21 PM, Marco Patzer wrote:
On 2013--02--07 Devendra Ghate wrote:
I want to use truly huge (40pt) fonts for chapter numbers.
In my latex code, I used
\newfont{\chapterNumber}{pplr9d scaled 7000}
From the context manual, I thought that
\definebodyfont [11pt] [rm] [
On 2013–02–07 Devendra Ghate wrote:
\definebodyfont
[default]
[tfH= cmr12 scaled 7000]
still does not work and also wipes out definitions for \tfa \tfx etc.
So
{\tfa 1}{\tf 1}{\tfx 1}
will just yield
111
You're totally right.
My MWE is:
[…]
\definefontsize
[H]
Hi,
the scale argument for \copypages does not work any more in a recent
beta:
\starttext
\copypages [cow] [scale=100]
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question
Am 30.01.2013 um 18:58 schrieb Marco Patzer home...@lavabit.com:
Hi,
the scale argument for \copypages does not work any more in a recent
beta:
\starttext
\copypages [cow] [scale=100]
\stoptext
\copypages[cow][][scale=100]
Hans explained this change a while ago.
Wolfgang
On 2013–01–30 Wolfgang Schuster wrote:
\copypages[cow][][scale=100]
Hans explained this change a while ago.
I found the thread. Thanks.
Marco
signature.asc
Description: Digital signature
___
If your question
scale properly when used as super- or subscript, I have
prepared a minimal example to demonstrate that it doesn't. In my
document I have switched from \text{ } to \normal, which works.
There is another bug with \text.
How about:
[]
I don't understand the fix, but it gives the correct
On Sun, 21 Oct 2012, Hans Hagen wrote:
On 21-10-2012 04:35, Aditya Mahajan wrote:
On Sat, 20 Oct 2012, Aditya Mahajan wrote:
On Thu, 4 Oct 2012, Andreas Mang wrote:
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... }
should scale properly when used as super
On 21-10-2012 04:35, Aditya Mahajan wrote:
On Sat, 20 Oct 2012, Aditya Mahajan wrote:
On Thu, 4 Oct 2012, Andreas Mang wrote:
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... }
should scale properly when used as super- or subscript, I have
prepared a minimal example
On Thu, 4 Oct 2012, Andreas Mang wrote:
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... } should
scale properly when used as super- or subscript, I have prepared a
minimal example to demonstrate that it doesn't. In my document I have
switched from \text{ } to \normal
On Sat, 20 Oct 2012, Aditya Mahajan wrote:
On Thu, 4 Oct 2012, Andreas Mang wrote:
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... } should
scale properly when used as super- or subscript, I have prepared a minimal
example to demonstrate that it doesn't. In my
On 16-10-2012 23:08, Aditya Mahajan wrote:
Hi,
If scale option for a figure is set, \externalfigure does not honor the
width and the height parameters. For example
\externalfigure[cow][width=1cm, height=3cm, scale=750]
gives a figure which has the usual aspect ratio.
I know that settings
On Tue, 16 Oct 2012, Hans Hagen wrote:
On 16-10-2012 23:08, Aditya Mahajan wrote:
Hi,
If scale option for a figure is set, \externalfigure does not honor the
width and the height parameters. For example
\externalfigure[cow][width=1cm, height=3cm, scale=750]
gives a figure which has
On 16-10-2012 23:33, Aditya Mahajan wrote:
I actually use these abstractions, but with the default value also set.
That's the whole point of having the defaults, right? So, my current
solution is:
\setupexternalfigures[scale=750, factor=max, maxwidth=\textwidth,
maxheight=\textheight
On Tue, 16 Oct 2012, Hans Hagen wrote:
On 16-10-2012 23:33, Aditya Mahajan wrote:
I actually use these abstractions, but with the default value also set.
That's the whole point of having the defaults, right? So, my current
solution is:
\setupexternalfigures[scale=750, factor=max, maxwidth
Hi,
I was importing a PDF inside my document, but the scale parameter is now
ignored.
It's reproducible with any PDF with:
\starttext
\copypages[tt.pdf][scale=500]
\stoptext
Any idea ?
Thanks
Charles
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:
Hi,
I was importing a PDF inside my document, but the scale parameter is now
ignored.
It's reproducible with any PDF with:
\starttext
\copypages[tt.pdf][scale=500]
\stoptext
Any idea ?
Can you try this:
\starttext
Le 15/10/2012 17:22, Wolfgang Schuster a écrit :
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:
Hi,
I was importing a PDF inside my document, but the scale parameter is now
ignored.
It's reproducible with any PDF with:
\starttext
\copypages[tt.pdf][scale=500]
\stoptext
Any idea
On 15-10-2012 17:25, Charles wrote:
Le 15/10/2012 17:22, Wolfgang Schuster a écrit :
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:
Hi,
I was importing a PDF inside my document, but the scale parameter is
now ignored.
It's reproducible with any PDF with:
\starttext
\copypages
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... } should scale
properly when used as super- or subscript, I have prepared a minimal example to
demonstrate that it doesn't. In my document I have switched from \text{ } to
\normal, which works.
Kind regards,
Andreas
On Thu, 4 Oct 2012 09:10:17 +0200
Andreas Mang m...@imt.uni-luebeck.de wrote:
Hi there,
As Aditya mentioned in a former posting (*) that \text{ ... }
should scale properly when used as super- or subscript, I have
prepared a minimal example to demonstrate that it doesn't. In my
document I
{ ... }
should scale properly when used as super- or subscript, I have
prepared a minimal example to demonstrate that it doesn't. In my
document I have switched from \text{ } to \normal, which works.
Kind regards,
Andreas
ConTeXt ver: 2012.09.25 21:44 MKIV fmt: 2012.10.1
%% MINIMAL EXAMPLE
Hi,
See this example about Chinese fonts as fallback fonts. The Latin
font's scale rate is less than the fallback font from \tf to \tfd. The
size of the fallback font is almost two times of the Latin font with
\tfd.
\starttypescript[serif][myfonts]
\definefontsynonym[hereos
Hi there,
It came to my attention that there might be a problem when using math symbols
in the superscript:
It seems that the symbols are not properly scaled (if downscaling was what I
suppose to be the default behaviour). A small example is given below.
Thanks in advance.
Cheers,
Andreas
On 15-12-2011 14:38, Andreas Mang wrote:
Hi there,
It came to my attention that there might be a problem when using math symbols
in the superscript:
It seems that the symbols are not properly scaled (if downscaling was what I
suppose to be the default behaviour). A small example is given
Le 11/10/2011 15:09, Peter Münster a écrit :
On Tue, Oct 11 2011, Stéphane Klein wrote:
Do you have a tip ?
There is \scale[...]{...}:
\starttext
\dontleavehmode
\scale[scale=700]{•} • \scale[scale=1700]{•}
\stoptext
I don't understand the scale value :
* 700 = 70% ?
* 1700 = 170
On Wed, Oct 12, 2011 at 1:47 PM, Stéphane Klein steph...@harobed.org
wrote:
Le 11/10/2011 15:09, Peter Münster a écrit :
On Tue, Oct 11 2011, Stéphane Klein wrote:
Do you have a tip ?
There is \scale[...]{...}:
\starttext
\dontleavehmode
\scale[scale=700]{•} • \scale[scale=1700
On Fri, Dec 03, 2010 at 12:34:47AM +0100, Hans Hagen wrote:
On 3-12-2010 12:24, Khaled Hosny wrote:
On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote:
On 3-12-2010 12:08, Khaled Hosny wrote:
What option should I pass to \externalfigure to not scale the image,
from the manuals
What option should I pass to \externalfigure to not scale the image,
from the manuals it seems to be scale=1000 but it does not seem to do
anything here.
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
On 3-12-2010 12:08, Khaled Hosny wrote:
What option should I pass to \externalfigure to not scale the image,
from the manuals it seems to be scale=1000 but it does not seem to do
anything here.
\externalfigure[cow.pdf]
should take the natural size; sometimes bitmaps can come out unexpexted
On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote:
On 3-12-2010 12:08, Khaled Hosny wrote:
What option should I pass to \externalfigure to not scale the image,
from the manuals it seems to be scale=1000 but it does not seem to do
anything here.
\externalfigure[cow.pdf]
should
On 3-12-2010 12:24, Khaled Hosny wrote:
On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote:
On 3-12-2010 12:08, Khaled Hosny wrote:
What option should I pass to \externalfigure to not scale the image,
from the manuals it seems to be scale=1000 but it does not seem to do
anything here
2pt;
numeric u;
u=2cm;
draw (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60;
fill (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60 withcolor
(0.58,0.94,0.9);
\stopuseMPgraphic
\useMPgraphic{Dir}
(2) Is there a command to scale the whole picture...not the components?
Thanks very much
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
___
If your question is of interest to others as well
Albrecht Kauffmann alkauffm at rz.uni-potsdam.de writes:
only to (1): try
draw (((0,0) -- dir(0)*u -- dir(60)*u --cycle) rotated 60);
Thanks Albrecht. That worked great.
___
If your question is of interest to
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco,
Sorry for the typo and for not being clear. I meant the following. I know
On Fri, Mar 13, 2009 at 2:39 PM, Curious Learn curiousle...@gmail.com wrote:
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco
Curious Learn wrote:
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco,
Sorry for the typo and for not being clear. I meant
Taco Hoekwater taco at elvenkind.com writes:
You want this, I think:
beginfig(1);
... do stuff ...
currentpicture := currentpicture scaled X;
endfig;
Awesome!! This is exactly what I was looking for.
Thanks Taco and Mikael.
(0.58,0.94,0.9);
\stopuseMPgraphic
\useMPgraphic{Dir}
(2) Is there a command to scale the whole picture...not the components?
Thanks very much.
I have said this before but want to say this again. Thanks so much to the
developers of Context who have given us this wonderful system. Thanks also to
all
Peter Rolf wrote:
Something like
\setupcolors[conversion=always]
Is there is a reason why you can not use
\setupcolors[state=start]
as well?
That works fine in combination with conversion, and
you will end up with greyscale color.
Best,
Taco
Taco Hoekwater wrote:
Peter Rolf wrote:
Something like
\setupcolors[conversion=always]
Is there is a reason why you can not use
\setupcolors[state=start]
as well?
Mh, you mean beside from my too little brain? No. ;)
This works with the simple example, but sadly not with my more
Hi,
I currently have a problem with the conversion of some mp graphics into
gray scale. The mp graphics themself look great, but *text is always
converted to black*, regardless of its real color. Is there a way to fix
this?
Peter
___
ntg-context
Peter Rolf wrote:
Hi,
I currently have a problem with the conversion of some mp graphics into
gray scale. The mp graphics themself look great, but *text is always
converted to black*, regardless of its real color. Is there a way to fix
this?
Sorry, I made a mistake. The text that is used
Steve Peter wrote:
The scaling factor is in units of 1000. To get 80% size, use [scale=800].
Thanks. Added comment to texshow-web.
Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
On Oct 23, 2005, at 10:56 AM, Christopher Creutzig wrote: according to texshow, \externalfigure accepts scale as an option. For me,\starttext\externalfigure[cow.pdf][scale=0.8]\stoptextresults in getting ".8.8.8.8" in front of the image.The scaling factor is in units of 1000. To get 80%
Hello,
could anybody explain, why the DRAFT is bigger on the last two pages
please?
\defineoverlay[Draft][{\scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
\setupbackgrounds[page][background=Draft]
\starttext
\starttables[|l|]
\dorecurse{200}{\NC hallo \NC\AR}
\stoptables
\stoptext
Cheers
Peter Münster wrote:
could anybody explain, why the DRAFT is bigger on the last two pages
please?
I played with
\defineoverlay[Draft][{\scale[factor=max]
{\rotate[rotation=60]{\framed[strut=no,offset=0pt]{\strut~DRAFT~\strut]
\setupbackgrounds[page][background=Draft]
\showstruts
On Fri, 1 Jul 2005, Mojca Miklavec wrote:
If you need a solution: use {\ Draft\ }
Thanks a lot! I didn't think about this kind of space at all...
If you need the reason: wait for the expert(s)
I don't need it, but it would certainly be interesting ;)
Cheers, Peter
--
Peter Münster wrote:
On Fri, 1 Jul 2005, Mojca Miklavec wrote:
If you need a solution: use {\ Draft\ }
Thanks a lot! I didn't think about this kind of space at all...
If you need the reason: wait for the expert(s)
I don't need it, but it would certainly be interesting ;)
From
79 matches
Mail list logo